<script setup lang="ts">
// 需求: div中放置3个p标签 p标签的内容是1 2 3
import { h, onMounted, render } from 'vue'
import XtxMessage from '@/components/message/index.vue'
const VNode = h(XtxMessage, { type: 'warning', message: '警告' })
onMounted(() => {
  render(VNode, document.querySelector('#box')!)
})
</script>
<template>
  <div id="box">

  </div>
</template>



<style scoped>
</style>